package com.gm.census.service.impl;

import java.util.List;

import com.gm.census.model.pojo.Entry;
import com.gm.census.service.EntrySearchResult;

public class EntrySearchResultImpl implements EntrySearchResult<Entry> {

	public EntrySearchResultImpl() {
	};

	public EntrySearchResultImpl(String cp, String np, List<Entry> ind,
			List<Entry> visits) {
		this.cp = cp;
		this.np = np;
		this.ind = ind;
		this.visits = visits;
	}

	private String cp;
	private String np;
	private List<Entry> ind;
	private List<Entry> visits;

	@Override
	public List<Entry> getIndications() {
		return ind;
	}

	@Override
	public List<Entry> getVisits() {
		return visits;
	}

	@Override
	public String getNextPageIndex() {
		return np;
	}

	public void setNextPageIndex(String np) {
		this.np = np;
	}

	public void setIndications(List<Entry> ind) {
		this.ind = ind;
	}

	public void setVisits(List<Entry> vis) {
		this.visits = vis;
	}

	@Override
	public String getCurrentPageIndex() {
		return this.cp;
	}

	public void setCurrentPageIndex(String cp) {
		this.cp = cp;
	}

}
